package com.erp.fin.service.impl;

import com.erp.fin.dao.ReceiptTickDao;
import com.erp.fin.domain.ReceiptTickDO;
import com.erp.fin.service.ReceiptTickService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class ReceiptTickServiceImpl implements ReceiptTickService {
	@Autowired
	private ReceiptTickDao receiptTickDao;
	
	@Override
	public ReceiptTickDO get(Long id){
		return receiptTickDao.get(id);
	}
	
	@Override
	public List<ReceiptTickDO> list(Map<String, Object> map){
		return receiptTickDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return receiptTickDao.count(map);
	}
	
	@Override
	public int save(ReceiptTickDO receiptTick){
		return receiptTickDao.save(receiptTick);
	}
	
	@Override
	public int update(ReceiptTickDO receiptTick){
		return receiptTickDao.update(receiptTick);
	}
	
	@Override
	public int remove(Long id){
		return receiptTickDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return receiptTickDao.batchRemove(ids);
	}

	@Override
	public int confirm(Long id) {
		return receiptTickDao.confirm(id);
	}

}
